package router

import (
	beego "github.com/beego/beego/v2/server/web"
	"kong-social-api/modules/common/code/controller"
)

type CodeRouter struct{}

/**
 * @Author kong
 * @Date 2023/10/18
 * @Description 验证码的路由
 */
func (router *CodeRouter) InitNoRouter() beego.LinkNamespace {
	namespace := beego.NSCtrlGet("/captcha", (*controller.CodeController).CreateCode)
	return namespace
}
